package com.xyc.javaee.madp;

import com.xyc.javaee.madp.util.EncryptUtil;

/**
 * @Version 1.0
 * @Author:徐衍程
 * @Date:2022/4/18
 * @Content:
 */
public class CmsTest {

    public static void main(String[] args) {
        //秘钥解密
        decryptAppSecret();
    }

    /**
     * 秘钥解密
     */
    private static void decryptAppSecret() {
        String appId = "09275d5926b140e2";
        String appSecret = "hmqR4gpqPLfw4sIV+Y7r50hD/Ei/Z9D/Gt8slU9Apa7CSssIg8hrb6FCxkFP++kC";
        String secret = EncryptUtil.appSecretDecrypt(appSecret, appId);
        System.out.println(secret);
    }
}
